public class Client {
    public static void main(String[] args) {

        //RegularUser
        Context context = new Context(new RegularDiscount());
        context.discount();
        System.out.println("-----------------------------------------");

        //GoldCardUse
        context = new Context(new GoldDiscount());
        context.discount();

        System.out.println("-----------------------------------------");

        //SilverCardUser
        context = new Context(new SilverDiscount());
        context.discount();
    }
}
